package com.totoro.mapper;

import com.totoro.pojo.ProductSpecs;
import com.totoro.pojo.SkuKey;
import com.totoro.pojo.SkuList;
import com.totoro.pojo.SpuKey;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author TOTORO
 * @date 2021/6/14 13:08
 */
@Repository
public interface AttributeMapper {
    List<SpuKey> findSpu(@Param("cid") int id);

    String findSpuValue(@Param("akid") int akid);

    List<SkuKey> findSkuListById(@Param("cid") int cid);

    Integer updateProductSkuAttr(ProductSpecs productSpecs);
}
